#include <deMesh.hpp>
Inheritance diagram for IdeMesh:


Public Member Functions | |
| virtual void | ClearGeometry ()=0 |
| Destroys all contained geometry. | |
| virtual deBoolean | BuildFromBrushGeometry (IdeBrush *brush)=0 |
| Builds from a brush. | |
| virtual deBoolean | BuildFromVertices ()=0 |
| virtual deBoolean | AddVertices (const deMeshVertexData &vertexdata, long &indexoffset)=0 |
| adds vertex data, fills indexoffset with offset to beginning of vertex data in main vertex buffer | |
| virtual deBoolean | AddIndices (const deMeshIndexData &indexdata)=0 |
| adds index data, which contains indexoffset and surface information | |
| virtual void | SetNumSubMeshes (u32 NumSubs, deBoolean Dynamic=(DE_TRUE))=0 |
| Sets the number of submeshes, and destroys all existing submeshes. | |
| virtual deBoolean | SetSurface (u32 SubNum, IdeSurface *Surface)=0 |
| virtual IdeSurface * | GetSurface (u32 SubNum)=0 |
| virtual deBoolean | SetNumFaces (u32 SubNum, u32 NumFaces)=0 |
| virtual u32 | GetNumFaces (u32 SubNum)=0 |
| virtual deBoolean | Lock (deVertex **&positions, deTexCoord2 **&uvcoords, deARGB **&colors)=0 |
| virtual deBoolean | Unlock (deVertex **&positions, deTexCoord2 **&uvcoords, deARGB **&colors)=0 |
| virtual IdeVertexBuffer * | GetMainVertexBuffer ()=0 |
| virtual long | GetNumSubMeshes ()=0 |
| virtual IdeVertexBuffer * | GetSubMeshVertexBuffer (long index)=0 |
| virtual IdeVertexBuffer * | GetSubMeshIndexBuffer (long index)=0 |
| virtual IdeSurface * | GetSubMeshSurface (long index)=0 |
| virtual deDouble | GetBoundRadius ()=0 |
| virtual void | GetBBox (deAABB &outBox)=0 |
Protected Member Functions | |
| ~IdeMesh () | |
|
|
|
|
|
adds index data, which contains indexoffset and surface information
Implemented in deMesh. |
|
||||||||||||
|
adds vertex data, fills indexoffset with offset to beginning of vertex data in main vertex buffer
Implemented in deMesh. |
|
|
Builds from a brush.
Implemented in deMesh. |
|
|
Builds from a set of vertex & index data, set through AddVertices and AddIndices. This will only take into account the geometry that has been input through AddVertices and AddIndices since the last time a mesh was built. Implemented in deMesh. |
|
|
Destroys all contained geometry.
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
|
Implemented in deMesh. |
|
||||||||||||||||
|
Implemented in deMesh. |
|
||||||||||||
|
Implemented in deMesh. |
|
||||||||||||
|
Sets the number of submeshes, and destroys all existing submeshes.
Implemented in deMesh. |
|
||||||||||||
|
Implemented in deMesh. |
|
||||||||||||||||
|
Implemented in deMesh. |
1.3-rc3